from django.shortcuts import render_to_response

def index(request):
    return render_to_response("index.html", {})

def aktualnosci(request):
    return render_to_response("aktualnosci.html", {})

def pracownicy(request):
    return render_to_response("pracownicy.html", {})

def przedmioty(request):
    return render_to_response("przedmioty.html", {})

def przedmiot(request, id):
    if id == '01':
        return render_to_response("algebra.html", {})
    elif id == '17':
        return render_to_response("erlang.html", {})
    elif id == '60':
        return render_to_response("automaty.html", {})
    else:
        return render_to_response("przykladowy.html", {})
    
def erlang(request):
	return render_to_response('erlang.html', {})

def algebra(request):
	return render_to_response('algebra.html', {})

def automaty(request):
	return render_to_response('automaty.html', {})

def lista(request):
	return render_to_response('lista.json', {})

def plan(request):
	return render_to_response('plan.html', {})

